package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {

    void addDishWithFlavors(DishDTO dishDTO);

    PageResult getPage(DishPageQueryDTO dto);

    void updateDishWithFlavor(DishDTO dishDTO);

    DishVO getDishById(Long dishId);

    void batchDeleteDish(String ids);

    List<Dish> getDishByCategory(Long categoryId);

    void startOrStop(int status, Long id);


    List<DishVO> getList(Long categoryId);
}
